package com.taylor.seckill.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author taylor
 * @Description: TODO
 * @date 2021/4/8 0:09
 */
@RestController
public class HelloController {

    @RequestMapping("/hello")
    public String hello(){
        return "hello taylor";
    }
}
